# near model CODE resource # this CODE claims to have no jump table entries (but starts at 600A) 00000000 434F chk.w D1, A7 00000002 4445 neg.w D5 00000004 03E8 0000 bset [A0 + 0x0], D1 00000008 48E7 E0C8 movem.l -[A7], D0,D1,D2,A0,A1,A4 0000000C 4EBA 00F2 jsr [PC + 0xF2 /* 00000100 */] 00000010 41FA FFEA lea.l A0, [PC - 0x16 /* FFFFFFFC */] 00000014 2008 move.l D0, A0 00000016 A055 syscall StripAddress 00000018 4EBA 0090 jsr [PC + 0x90 /* 000000AA */] 0000001C 4CDF 1307 movem.l D0,D1,D2,A0,A1,A4, [A7]+ 00000020 4EFA 00F2 jmp [PC + 0xF2 /* 00000114 */] fn00000024: 00000024 41FA FFD6 lea.l A0, [PC - 0x2A /* FFFFFFFC */] 00000028 D1FC 0000 0283 add.l A0, 0x283 0000002E 2008 move.l D0, A0 00000030 A055 syscall StripAddress 00000032 4E75 rts fn00000034: 00000034 48E7 0600 movem.l -[A7], D5,D6 00000038 594F subq.w A7, 4 0000003A 206F 0010 movea.l A0, [A7 + 0x10] 0000003E 226F 0014 movea.l A1, [A7 + 0x14] 00000042 2C2F 0018 move.l D6, [A7 + 0x18] 00000046 1E98 move.b [A7], [A0]+ 00000048 1F58 0001 move.b [A7 + 0x1], [A0]+ 0000004C 1F58 0002 move.b [A7 + 0x2], [A0]+ 00000050 1F58 0003 move.b [A7 + 0x3], [A0]+ 00000054 2A17 move.l D5, [A7] 00000056 7400 moveq.l D2, 0x00 00000058 6044 bra +0x46 /* 0000009E */ label0000005A: 0000005A 1218 move.b D1, [A0]+ 0000005C 1001 move.b D0, D1 0000005E 0240 0080 andi.w D0, 0x80 00000062 670C beq +0xE /* 00000070 */ 00000064 D201 add.b D1, D1 00000066 1001 move.b D0, D1 00000068 4880 ext.w D0 0000006A 48C0 ext.l D0 0000006C D480 add.l D2, D0 0000006E 6028 bra +0x2A /* 00000098 */ label00000070: 00000070 1E81 move.b [A7], D1 00000072 1F58 0001 move.b [A7 + 0x1], [A0]+ 00000076 1001 move.b D0, D1 00000078 0240 0040 andi.w D0, 0x40 /* '@' */ 0000007C 670C beq +0xE /* 0000008A */ 0000007E 3017 move.w D0, [A7] 00000080 E548 lsl D0.w, 2 00000082 E240 asr D0.w, 1 00000084 48C0 ext.l D0 00000086 D480 add.l D2, D0 00000088 600E bra +0x10 /* 00000098 */ label0000008A: 0000008A 1F58 0002 move.b [A7 + 0x2], [A0]+ 0000008E 1F58 0003 move.b [A7 + 0x3], [A0]+ 00000092 2417 move.l D2, [A7] 00000094 E58A lsl D2, 2 00000096 E282 asr D2, 1 label00000098: 00000098 DDB1 2800 add.l [A1 + D2], D6 0000009C 5385 subq.l D5, 1 label0000009E: 0000009E 4A85 tst.l D5 000000A0 6EB8 bgt -0x46 /* 0000005A */ 000000A2 584F addq.w A7, 4 000000A4 4CDF 0060 movem.l D5,D6, [A7]+ 000000A8 4E75 rts fn000000AA: 000000AA 48E7 1020 movem.l -[A7], D3,A2 000000AE 2440 movea.l A2, D0 000000B0 202C 8000 move.l D0, [A4 - 0x8000] 000000B4 260A move.l D3, A2 000000B6 9680 sub.l D3, D0 000000B8 6740 beq +0x42 /* 000000FA */ 000000BA 4A80 tst.l D0 000000BC 661C bne +0x1E /* 000000DA */ 000000BE 422C 8004 clr.b [A4 - 0x7FFC] 000000C2 303C A89F move.w D0, 0xA89F 000000C6 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7 000000C8 2F08 move.l -[A7], A0 000000CA 303C A198 move.w D0, 0xA198 000000CE A346 syscall GetOSTrapAddress, flags=3 000000D0 B1DF cmpa.l A0, [A7]+ 000000D2 56C0 sne D0 000000D4 4400 neg.b D0 000000D6 1940 8004 move.b [A4 - 0x7FFC], D0 label000000DA: 000000DA 2F03 move.l -[A7], D3 000000DC 2F0A move.l -[A7], A2 000000DE 4EBA FF44 jsr [PC - 0xBC /* 00000024 */] 000000E2 2F00 move.l -[A7], D0 000000E4 4EBA FF4E jsr [PC - 0xB2 /* 00000034 */] 000000E8 4FEF 000C lea.l A7, [A7 + 0xC] 000000EC 294A 8000 move.l [A4 - 0x8000], A2 000000F0 4A2C 8004 tst.b [A4 - 0x7FFC] 000000F4 6704 beq +0x6 /* 000000FA */ 000000F6 7001 moveq.l D0, 0x01 000000F8 A198 syscall HWPriv, flags=1 label000000FA: 000000FA 4CDF 0408 movem.l D3,A2, [A7]+ 000000FE 4E75 rts fn00000100: 00000100 41FA FEFA lea.l A0, [PC - 0x106 /* FFFFFFFC */] 00000104 D1FC 0000 827E add.l A0, 0x827E 0000010A 2008 move.l D0, A0 0000010C A055 syscall StripAddress 0000010E C18C exg D0, A4 00000110 4E75 rts 00000112 4E75 rts label00000114: 00000114 48E7 1F30 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3 00000118 266F 0020 movea.l A3, [A7 + 0x20] 0000011C 246F 0024 movea.l A2, [A7 + 0x24] 00000120 2C2F 0028 move.l D6, [A7 + 0x28] 00000124 2E2F 002C move.l D7, [A7 + 0x2C] 00000128 7800 moveq.l D4, 0x00 0000012A BC87 cmp.l D6, D7 0000012C 6606 bne +0x8 /* 00000134 */ 0000012E 7C00 moveq.l D6, 0x00 00000130 2E2A 0020 move.l D7, [A2 + 0x20] label00000134: 00000134 7000 moveq.l D0, 0x00 00000136 102A 002A move.b D0, [A2 + 0x2A] 0000013A 5140 subq.w D0, 8 0000013C 670A beq +0xC /* 00000148 */ 0000013E 5140 subq.w D0, 8 00000140 6700 008E beq +0x90 /* 000001D0 */ 00000144 6000 0124 bra +0x126 /* 0000026A */ label00000148: 00000148 2453 movea.l A2, [A3] 0000014A D5C6 add.l A2, D6 0000014C 7A00 moveq.l D5, 0x00 0000014E 6028 bra +0x2A /* 00000178 */ label00000150: 00000150 161A move.b D3, [A2]+ 00000152 49C3 lea.l A4, D3 00000154 4A83 tst.l D3 00000156 6D04 blt +0x6 /* 0000015C */ 00000158 2003 move.l D0, D3 0000015A 6004 bra +0x6 /* 00000160 */ label0000015C: 0000015C 2003 move.l D0, D3 0000015E 4480 neg.l D0 label00000160: 00000160 B880 cmp.l D4, D0 00000162 6E0E bgt +0x10 /* 00000172 */ 00000164 4A83 tst.l D3 00000166 6D04 blt +0x6 /* 0000016C */ 00000168 2003 move.l D0, D3 0000016A 6004 bra +0x6 /* 00000170 */ label0000016C: 0000016C 2003 move.l D0, D3 0000016E 4480 neg.l D0 label00000170: 00000170 6002 bra +0x4 /* 00000174 */ label00000172: 00000172 2004 move.l D0, D4 label00000174: 00000174 2800 move.l D4, D0 00000176 5285 addq.l D5, 1 label00000178: 00000178 2007 move.l D0, D7 0000017A 9086 sub.l D0, D6 0000017C BA80 cmp.l D5, D0 0000017E 6DD0 blt -0x2E /* 00000150 */ 00000180 4A84 tst.l D4 00000182 6700 00E6 beq +0xE8 /* 0000026A */ 00000186 203C 0080 0000 move.l D0, 0x800000 0000018C 4C44 0800 movem.l A3, D4 00000190 2800 move.l D4, D0 00000192 2453 movea.l A2, [A3] 00000194 D5C6 add.l A2, D6 00000196 7A00 moveq.l D5, 0x00 00000198 602A bra +0x2C /* 000001C4 */ label0000019A: 0000019A 1612 move.b D3, [A2] 0000019C 49C3 lea.l A4, D3 0000019E 2004 move.l D0, D4 000001A0 4C03 0800 movem.w A3, D3 000001A4 4C7C 0800 0001 0000 movem.l A3, 0x10000 000001AC 2600 move.l D3, D0 000001AE 707F moveq.l D0, 0x7F 000001B0 B680 cmp.l D3, D0 000001B2 6F04 ble +0x6 /* 000001B8 */ 000001B4 767F moveq.l D3, 0x7F 000001B6 6008 bra +0xA /* 000001C0 */ label000001B8: 000001B8 7081 moveq.l D0, 0xFFFFFF81 000001BA B680 cmp.l D3, D0 000001BC 6C02 bge +0x4 /* 000001C0 */ 000001BE 7681 moveq.l D3, 0xFFFFFF81 label000001C0: 000001C0 14C3 move.b [A2]+, D3 000001C2 5285 addq.l D5, 1 label000001C4: 000001C4 2007 move.l D0, D7 000001C6 9086 sub.l D0, D6 000001C8 BA80 cmp.l D5, D0 000001CA 6DCE blt -0x30 /* 0000019A */ 000001CC 6000 009C bra +0x9E /* 0000026A */ label000001D0: 000001D0 2006 move.l D0, D6 000001D2 4C7C 0800 0000 0002 movem.l A3, 0x2 000001DA D080 add.l D0, D0 000001DC 2453 movea.l A2, [A3] 000001DE D5C0 add.l A2, D0 000001E0 7A00 moveq.l D5, 0x00 000001E2 6028 bra +0x2A /* 0000020C */ label000001E4: 000001E4 305A movea.w A0, [A2]+ 000001E6 2608 move.l D3, A0 000001E8 4A83 tst.l D3 000001EA 6D04 blt +0x6 /* 000001F0 */ 000001EC 2003 move.l D0, D3 000001EE 6004 bra +0x6 /* 000001F4 */ label000001F0: 000001F0 2003 move.l D0, D3 000001F2 4480 neg.l D0 label000001F4: 000001F4 B880 cmp.l D4, D0 000001F6 6E0E bgt +0x10 /* 00000206 */ 000001F8 4A83 tst.l D3 000001FA 6D04 blt +0x6 /* 00000200 */ 000001FC 2003 move.l D0, D3 000001FE 6004 bra +0x6 /* 00000204 */ label00000200: 00000200 2003 move.l D0, D3 00000202 4480 neg.l D0 label00000204: 00000204 6002 bra +0x4 /* 00000208 */ label00000206: 00000206 2004 move.l D0, D4 label00000208: 00000208 2800 move.l D4, D0 0000020A 5285 addq.l D5, 1 label0000020C: 0000020C 2007 move.l D0, D7 0000020E 9086 sub.l D0, D6 00000210 4C7C 0800 0000 0002 movem.l A3, 0x2 00000218 BA80 cmp.l D5, D0 0000021A 6DC8 blt -0x36 /* 000001E4 */ 0000021C 4A84 tst.l D4 0000021E 674A beq +0x4C /* 0000026A */ 00000220 203C 8000 0000 move.l D0, 0x80000000 00000226 4C44 0800 movem.l A3, D4 0000022A 2800 move.l D4, D0 0000022C 2006 move.l D0, D6 0000022E 4C7C 0800 0000 0002 movem.l A3, 0x2 00000236 D080 add.l D0, D0 00000238 2453 movea.l A2, [A3] 0000023A D5C0 add.l A2, D0 0000023C 7A00 moveq.l D5, 0x00 0000023E 601A bra +0x1C /* 0000025A */ label00000240: 00000240 3052 movea.w A0, [A2] 00000242 2608 move.l D3, A0 00000244 2004 move.l D0, D4 00000246 4C03 0800 movem.w A3, D3 0000024A 4480 neg.l D0 0000024C 4C7C 0800 0001 0000 movem.l A3, 0x10000 00000254 2600 move.l D3, D0 00000256 34C3 move.w [A2]+, D3 00000258 5285 addq.l D5, 1 label0000025A: 0000025A 2007 move.l D0, D7 0000025C 9086 sub.l D0, D6 0000025E 4C7C 0800 0000 0002 movem.l A3, 0x2 00000266 BA80 cmp.l D5, D0 00000268 6DD6 blt -0x28 /* 00000240 */ label0000026A: 0000026A 7000 moveq.l D0, 0x00 0000026C 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+ 00000270 4E75 rts 00000272 846D 6169 or.w D2, [A5 + 0x6169] 00000276 6E00 0000 bgt +0x2 /* 00000278 */ // begin alternate branch 00000278-00000282 label00000278: 00000278 0000 0000 ori.b D0, 0x0 0000027C 0000 0000 ori.b D0, 0x0 00000280 0000 .incomplete // end alternate branch 00000278-00000282 label00000278: // (misaligned) 0000027A 0000 0000 ori.b D0, 0x0 0000027E 0000 0000 ori.b D0, 0x0 00000282 00 .incomplete